diff options
author | Colin Ian King <colin.king@canonical.com> | 2018-02-27 11:21:05 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-14 14:33:13 -0400 |
commit | bb0829a741792b56c908d7745bc0b2b540293bcc (patch) | |
tree | e368f51de69aee86ab45a301df2c731ef0ed7d3c /drivers/misc/mei/main.c | |
parent | af336cabe08363ba8493e7d7e5d070353eb30caa (diff) |
mei: remove dev_err message on an unsupported ioctl
Currently the driver spams the kernel log on unsupported ioctls which is
unnecessary as the ioctl returns -ENOIOCTLCMD to indicate this anyway.
I suspect this was originally for debugging purposes but it really is not
required so remove it.
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/mei/main.c')
-rw-r--r-- | drivers/misc/mei/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/misc/mei/main.c b/drivers/misc/mei/main.c index 401b1bc4d282..7465f17e1559 100644 --- a/drivers/misc/mei/main.c +++ b/drivers/misc/mei/main.c | |||
@@ -528,7 +528,6 @@ static long mei_ioctl(struct file *file, unsigned int cmd, unsigned long data) | |||
528 | break; | 528 | break; |
529 | 529 | ||
530 | default: | 530 | default: |
531 | dev_err(dev->dev, ": unsupported ioctl %d.\n", cmd); | ||
532 | rets = -ENOIOCTLCMD; | 531 | rets = -ENOIOCTLCMD; |
533 | } | 532 | } |
534 | 533 | ||