r8152: fix the warnings and a error from checkpatch.pl
authorhayeswang <hayeswang@realtek.com>
Wed, 15 Jan 2014 02:42:15 +0000 (10:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 15 Jan 2014 02:48:54 +0000 (18:48 -0800)
commit9629e3c037a1ede32b70d9ae2ab131cdfb872df8
treefa2473c77af6d774e01b7ffb62c126255f6a9fd0
parent44d942a908641e6486e66eb33e7ba9e6a969678a
r8152: fix the warnings and a error from checkpatch.pl

Fix the following warnings and error:
 - WARNING: usb_free_urb(NULL) is safe this check is probably not required
 - WARNING: kfree(NULL) is safe this check is probably not required
 - ERROR: do not use C99 // comments

Signed-off-by: Hayes Wang <hayeswang@realtek.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/r8152.c