aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/atm/eni.c
diff options
context:
space:
mode:
authorChristoph Hellwig <[email protected]>2020-07-17 06:23:10 +0000
committerDavid S. Miller <[email protected]>2020-07-20 01:16:40 +0000
commita06d30ae7af492497ffbca6abf1621d508b8fcaa (patch)
treee7d6000035fd8ccc161509fb4ebedfee844f5451 /drivers/atm/eni.c
parentnet: rds: rdma_transport.h: delete duplicated word (diff)
downloadkernel-a06d30ae7af492497ffbca6abf1621d508b8fcaa.tar.gz
kernel-a06d30ae7af492497ffbca6abf1621d508b8fcaa.zip
net/atm: remove the atmdev_ops {get, set}sockopt methods
All implementations of these two methods are dummies that always return -EINVAL. Signed-off-by: Christoph Hellwig <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/atm/eni.c')
-rw-r--r--drivers/atm/eni.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/atm/eni.c b/drivers/atm/eni.c
index 17d47ad03ab7..b3d8e00e7671 100644
--- a/drivers/atm/eni.c
+++ b/drivers/atm/eni.c
@@ -2027,21 +2027,6 @@ static int eni_ioctl(struct atm_dev *dev,unsigned int cmd,void __user *arg)
return dev->phy->ioctl(dev,cmd,arg);
}
-
-static int eni_getsockopt(struct atm_vcc *vcc,int level,int optname,
- void __user *optval,int optlen)
-{
- return -EINVAL;
-}
-
-
-static int eni_setsockopt(struct atm_vcc *vcc,int level,int optname,
- void __user *optval,unsigned int optlen)
-{
- return -EINVAL;
-}
-
-
static int eni_send(struct atm_vcc *vcc,struct sk_buff *skb)
{
enum enq_res res;
@@ -2215,8 +2200,6 @@ static const struct atmdev_ops ops = {
.open = eni_open,
.close = eni_close,
.ioctl = eni_ioctl,
- .getsockopt = eni_getsockopt,
- .setsockopt = eni_setsockopt,
.send = eni_send,
.phy_put = eni_phy_put,
.phy_get = eni_phy_get,