]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
fs: cifs: mute -Wunused-const-variable message
authorAustin Kim <austindh.kim@gmail.com>
Tue, 1 Oct 2019 07:34:13 +0000 (16:34 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Nov 2019 11:18:08 +0000 (12:18 +0100)
commita2c40c41e64d47028df080fc78f912064066d6d7
tree8069d338b9c98d497e1860e1a992613441875d4a
parenta2669abf5e1a7b958a0b7dc9530216dc1d37c0ca
fs: cifs: mute -Wunused-const-variable message

[ Upstream commit dd19c106a36690b47bb1acc68372f2b472b495b8 ]

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>
fs/cifs/netmisc.c