summaryrefslogtreecommitdiffstats
path: root/pwr.c
diff options
context:
space:
mode:
Diffstat (limited to 'pwr.c')
-rw-r--r--pwr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pwr.c b/pwr.c
index d2f0f1c..b04ec0f 100644
--- a/pwr.c
+++ b/pwr.c
@@ -49,7 +49,7 @@ void ipc_pwr_phone_state(struct ipc_message_info *info)
{
unsigned char state;
- if (info == NULL || info->data == NULL || info->length < sizeof(unsigned char))
+ if (info->data == NULL || info->length < sizeof(unsigned char))
return;
state = *((unsigned char *) info->data);