]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit088a9ff3367f3c9e6df22f2bb7b0e21514b54ca1
treec2f03addc5abf7a979e0c97eb0f22269ac3a656a
parent9d4420f0140e220307ad24a256c33424f6bcb05d
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