net: atm: remove redundant null pointer check on dev->name
authorColin Ian King <colin.king@canonical.com>
Tue, 16 Aug 2016 11:08:42 +0000 (12:08 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 19 Aug 2016 04:03:48 +0000 (21:03 -0700)
commit0d135e4f263af7da3c2fbe5f99b377cf483b6adf
treec6fe777b9dbd5b08080474ac45f330a9ba86a294
parente202d4c6350506e036bbd63a1fca1400960c8ab6
net: atm: remove redundant null pointer check on dev->name

dev->name is a char array of IFNAMSIZ elements, hence can never be
null, so the null pointer check is redundant. Remove it.

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/atm/mpc.c