diff options
author | Marc Kleine-Budde <mkl@pengutronix.de> | 2019-08-12 15:49:04 +0200 |
---|---|---|
committer | Marc Kleine-Budde <mkl@pengutronix.de> | 2019-08-13 17:32:20 +0200 |
commit | af0b1470bda9751c4d757a0efd50edda8da49c99 (patch) | |
tree | efee84bc7b1ecce2a56420e571c40fe422238c63 /net/can | |
parent | can: raw: raw_module_init(): use pr_err() instead of printk(KERN_ERR, ...) (diff) | |
download | linux-af0b1470bda9751c4d757a0efd50edda8da49c99.tar.xz linux-af0b1470bda9751c4d757a0efd50edda8da49c99.zip |
can: raw: raw_sock_no_ioctlcmd(): mark function as static
This patch marks the raw_sock_no_ioctlcmd() function as static as it's
only used in this source file.
Fixes: 473d924d7d46 ("can: fix ioctl function removal")
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'net/can')
-rw-r--r-- | net/can/raw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/can/raw.c b/net/can/raw.c index a28b285545e5..fdbc36140e9b 100644 --- a/net/can/raw.c +++ b/net/can/raw.c @@ -835,8 +835,8 @@ static int raw_recvmsg(struct socket *sock, struct msghdr *msg, size_t size, return size; } -int raw_sock_no_ioctlcmd(struct socket *sock, unsigned int cmd, - unsigned long arg) +static int raw_sock_no_ioctlcmd(struct socket *sock, unsigned int cmd, + unsigned long arg) { /* no ioctls for socket layer -> hand it down to NIC layer */ return -ENOIOCTLCMD; |