Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

fs: cifs: mute -Wunused-const-variable message

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>

authored by

Austin Kim and committed by
Steve French
dd19c106 52870d50

-4
-4
fs/cifs/netmisc.c
··· 117 117 {0, 0} 118 118 }; 119 119 120 - static const struct smb_to_posix_error mapping_table_ERRHRD[] = { 121 - {0, 0} 122 - }; 123 - 124 120 /* 125 121 * Convert a string containing text IPv4 or IPv6 address to binary form. 126 122 *