rtnetlink: remove an unneeded test
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 14 Aug 2013 09:35:42 +0000 (12:35 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Aug 2013 08:29:02 +0000 (01:29 -0700)
commitfce9b9be89cece975675142a3953bfb5299d195d
tree286d437c1b3cbd0683eff139878cbd2cc70a3f83
parentf36f092065415b75b6be8377ae648c7114e7f099
rtnetlink: remove an unneeded test

We know that "dev" is a valid pointer at this point, so we can remove
the test and clean up a little.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c