Re: [PATCH] hamradio: 6pack: remove unnecessary check

2014-11-03 Thread David Miller
From: Sudip Mukherjee Date: Mon, 3 Nov 2014 17:42:29 +0530 > 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 Applied, thanks. -- To unsubscribe from this

[PATCH] hamradio: 6pack: remove unnecessary check

2014-11-03 Thread Sudip Mukherjee
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 --- drivers/net/hamradio/6pack.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ha