summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorAustin Kim <austindh.kim@gmail.com>2019-10-01 16:34:13 +0900
committerSteve French <stfrench@microsoft.com>2019-10-06 22:04:35 -0500
commitdd19c106a36690b47bb1acc68372f2b472b495b8 (patch)
treeac247b84e197734c55b3b1b1a8cde8fb1807f192 /fs
parent52870d5048919004b6629d1a2f2b0a99c23b9960 (diff)
downloadlinux-dd19c106a36690b47bb1acc68372f2b472b495b8.tar.gz
linux-dd19c106a36690b47bb1acc68372f2b472b495b8.tar.bz2
linux-dd19c106a36690b47bb1acc68372f2b472b495b8.zip
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>
Diffstat (limited to 'fs')
-rw-r--r--fs/cifs/netmisc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/cifs/netmisc.c b/fs/cifs/netmisc.c
index 49c17ee18254..9b41436fb8db 100644
--- a/fs/cifs/netmisc.c
+++ b/fs/cifs/netmisc.c
@@ -117,10 +117,6 @@ static const struct smb_to_posix_error mapping_table_ERRSRV[] = {
{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.
*