mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
can: bcm: bcm_sock_no_ioctlcmd(): mark function as static
This patch marks the bcm_sock_no_ioctlcmd() function as static as it's
only used in this source file.
Fixes: 473d924d7d ("can: fix ioctl function removal")
Signed-off-by: Marc Kleine-Budde <[email protected]>
This commit is contained in:
parent
af0b1470bd
commit
9989f6333c
1 changed files with 2 additions and 2 deletions
|
|
@ -1680,8 +1680,8 @@ static int bcm_recvmsg(struct socket *sock, struct msghdr *msg, size_t size,
|
|||
return size;
|
||||
}
|
||||
|
||||
int bcm_sock_no_ioctlcmd(struct socket *sock, unsigned int cmd,
|
||||
unsigned long arg)
|
||||
static int bcm_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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue