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)
commitc8a89c4a1d58230192cf7243520bf7f9899239f4
treec2f03addc5abf7a979e0c97eb0f22269ac3a656a
parenta40e0a664bce465a3b8ad1d792153cef8ded9f7d
rtnetlink: Drop unnecessary return value from ndo_dflt_fdb_del

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