staging: rtl8712: remove unneeded NULL check
authorDan Carpenter <dan.carpenter@oracle.com>
Sat, 28 Sep 2013 09:58:33 +0000 (12:58 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 1 Oct 2013 01:42:06 +0000 (18:42 -0700)
commita376932a93961db2024e0def126d3a9c9b6f37fe
tree496441e6d0f6af251246361bba175a9f262ac239
parent9cf66a95c7c8003fe85d76794fcf127ad72c6e35
staging: rtl8712: remove unneeded NULL check

We knew "peventbuf" was a valid pointer and "peventbuf + 2" is also
non-NULL.  I have removed the check.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8712/rtl8712_cmd.c