mirror of
https://github.com/raspberrypi/linux.git
synced 2025-12-06 10:00:17 +00:00
fs: cifs: mute -Wunused-const-variable message
[ Upstream commit dd19c106a3 ]
After 'Initial git repository build' commit,
'mapping_table_ERRHRD' variable has not been used.
So 'mapping_table_ERRHRD' const variable could be removed
to mute below warning message:
fs/cifs/netmisc.c:120:40: warning: unused variable 'mapping_table_ERRHRD' [-Wunused-const-variable]
static const struct smb_to_posix_error mapping_table_ERRHRD[] = {
^
Signed-off-by: Austin Kim <austindh.kim@gmail.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
5ee735af14
commit
5ed0045f98
@@ -117,10 +117,6 @@ static const struct smb_to_posix_error mapping_table_ERRSRV[] = {
|
|||||||
{0, 0}
|
{0, 0}
|
||||||
};
|
};
|
||||||
|
|
||||||
static const struct smb_to_posix_error mapping_table_ERRHRD[] = {
|
|
||||||
{0, 0}
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Convert a string containing text IPv4 or IPv6 address to binary form.
|
* Convert a string containing text IPv4 or IPv6 address to binary form.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user