rtnetlink: Drop unnecessary return value from ndo_dflt_fdb_del
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 15 Jul 2014 22:15:20 +0000 (15:15 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jul 2014 06:13:26 +0000 (23:13 -0700)
This change cleans up ndo_dflt_fdb_del to drop the ENOTSUPP return value since
that isn't actually returned anywhere in the code.  As a result we are able to
drop a few lines by just defaulting this to -EINVAL.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/rtnetlink.c

Simple merge