Re: [PATCH] cifs: remove unused ip_address field in struct TCP_Server_Info

From: Steve French
Date: Tue Jul 06 2010 - 14:22:15 EST


Makes sense - plan to merge this and two others of yours into
cifs-2.6.git today or tomorrow.

On Tue, Jul 6, 2010 at 7:29 AM, Suresh Jayaraman <sjayaraman@xxxxxxx> wrote:
> 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 <sjayaraman@xxxxxxx>
> ---
>  fs/cifs/cifsglob.h |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
>
> diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
> index a88479c..f182fe8 100644
> --- a/fs/cifs/cifsglob.h
> +++ b/fs/cifs/cifsglob.h
> @@ -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;
>



--
Thanks,

Steve
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/