OSDN Git Service

staging: ozwpan: remove redundant NULL check for devs
authorDaeseok Youn <daeseok.youn@gmail.com>
Fri, 16 May 2014 09:29:44 +0000 (18:29 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 May 2014 12:10:50 +0000 (21:10 +0900)
commit01c48ad3ea7f976ab9e02dca642c52f7cf1256b9
treee37cbd58e86dd6331fcf0c0b20962d0a87272924
parent0c9f38a1d1837de9060ce06f1897235236d38545
staging: ozwpan: remove redundant NULL check for devs

The "devs" is a pointer to g_net_dev in ozmain.c.
g_net_dev has a default value as empty string.
So "devs" cannot be NULL, removes NULL check for "devs".

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/ozwpan/ozproto.c