summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMadalin Bucur <madalin.bucur@freescale.com>2013-06-26 14:16:29 (GMT)
committerFleming Andrew-AFLEMING <AFLEMING@freescale.com>2013-07-15 21:48:59 (GMT)
commitf9269dd1fa2ae61f366e579ce356ec6346654b57 (patch)
tree01ed36b3276ff608bb571197846ed3ed792a0c26
parentba7039c00774b6eb8131ea517b570d89c6625e0e (diff)
downloadlinux-fsl-qoriq-f9269dd1fa2ae61f366e579ce356ec6346654b57.tar.xz
dpaa_eth: removed empty ndo callbacks
Empty callbacks are not required. Signed-off-by: Madalin Bucur <madalin.bucur@freescale.com> Change-Id: Ia41366d99c455b976bb0d4376a5fdc63332c58f2 Reviewed-on: http://git.am.freescale.net:8181/3094 Reviewed-by: Sovaiala Cristian-Constantin-B39531 <Cristian.Sovaiala@freescale.com> Reviewed-by: Radulescu Ruxandra Ioana-B05472 <ruxandra.radulescu@freescale.com> Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com> Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
-rw-r--r--drivers/net/ethernet/freescale/dpa/dpaa_eth_macless.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/drivers/net/ethernet/freescale/dpa/dpaa_eth_macless.c b/drivers/net/ethernet/freescale/dpa/dpaa_eth_macless.c
index d4610c9..8d3621e 100644
--- a/drivers/net/ethernet/freescale/dpa/dpaa_eth_macless.c
+++ b/drivers/net/ethernet/freescale/dpa/dpaa_eth_macless.c
@@ -107,11 +107,8 @@ static int __cold dpa_macless_start(struct net_device *net_dev);
static int __cold dpa_macless_stop(struct net_device *net_dev);
static int dpa_set_macless_address(struct net_device *net_dev, void *addr);
static int dpaa_eth_macless_probe(struct platform_device *_of_dev);
-static void dpa_set_macless_rx_mode(struct net_device *net_dev);
static netdev_features_t
dpa_macless_fix_features(struct net_device *dev, netdev_features_t features);
-static int dpa_macless_ioctl(struct net_device *dev,
- struct ifreq *rq, int cmd);
static int dpa_macless_netdev_init(struct device_node *dpa_node,
struct net_device *net_dev);
@@ -127,11 +124,9 @@ static const struct net_device_ops dpa_macless_ops = {
.ndo_select_queue = dpa_select_queue,
#endif
.ndo_change_mtu = dpa_change_mtu,
- .ndo_set_rx_mode = dpa_set_macless_rx_mode,
.ndo_init = dpa_ndo_init,
.ndo_set_features = dpa_set_features,
.ndo_fix_features = dpa_macless_fix_features,
- .ndo_do_ioctl = dpa_macless_ioctl,
};
static const struct of_device_id dpa_macless_match[] = {
@@ -171,10 +166,6 @@ static int __cold dpa_macless_stop(struct net_device *net_dev)
return 0;
}
-static void dpa_set_macless_rx_mode(struct net_device *net_dev)
-{
-}
-
static int dpa_set_macless_address(struct net_device *net_dev, void *addr)
{
const struct dpa_priv_s *priv;
@@ -212,11 +203,6 @@ dpa_macless_fix_features(struct net_device *dev, netdev_features_t features)
return features;
}
-static int dpa_macless_ioctl(struct net_device *dev, struct ifreq *rq, int cmd)
-{
- return -EINVAL;
-}
-
static int dpa_macless_netdev_init(struct device_node *dpa_node,
struct net_device *net_dev)
{