cifs: remove unused ip_address field in struct TCP_Server_Info
PATCH 1/1 cifs: remove unused ip_address field in struct TCP_Server_Info
The ip_address field is not used and seems redundant as there is union addr already and I don't see any future use as well.
Signed-off-by Suresh Jayaraman <[email protected]>
--- fs/cifs/cifsglob.h | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
fs/cifs/cifsglob.h +0 -1
@@ -142,7 +142,6 @@ struct TCP_Server_Info {struct list_head pending_mid_q;void *Server_NlsInfo;/* BB - placeholder for future NLS info */ unsigned short server_codepage;/* codepage for the server */ -unsigned long ip_address;/* IP addr for the server if known */ enum protocolEnum protocolType;char versionMajor;char versionMinor;
Makes sense - plan to merge this and two others of yours into cifs-2.6.git today or tomorrow.
Quoted 21 lines · Suresh Jayaraman
The
ip_addressfield is not used and seems redundant as there is union addr already and I don't see any future use as well.Signed-off-by Suresh Jayaraman <[email protected]>---
fs/cifs/cifsglob.h | 1 -1 files changed, 0 insertions(+), 1 deletions(-)fs/cifs/cifsglob.h +0
-0@@ -142,7 +142,6 @@ struct TCP_Server_Info { struct list_head pending_mid_q;void
*Server_NlsInfo; /* BB - placeholder for future NLS info */ unsigned shortserver_codepage; /* codepage for the server */
- unsigned longip_address; /* IP addr for the server if known */ enum protocolEnum protocolType;
char versionMajor;
char versionMinor;
Signature · 3 lines
Thanks, Steve