]> git.baikalelectronics.ru Git - kernel.git/commit
hamradio: 6pack: remove unnecessary check
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Mon, 3 Nov 2014 12:12:29 +0000 (17:42 +0530)
committerDavid S. Miller <davem@davemloft.net>
Mon, 3 Nov 2014 20:34:31 +0000 (15:34 -0500)
commite20f9726d79eaf5d4f46f024909fb18816376c72
tree56355e917423cf6229db7d2837721de51e354558
parent31207b69ef4784c9d68585ce7a802394489155af
hamradio: 6pack: remove unnecessary check

this is check for dev is unnecessary, as we are already checking dev
after allocating it via alloc_netdev, and jumping to label: out
if it is NULL.

Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hamradio/6pack.c