[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20131209.203646.425478975392590777.davem@davemloft.net>
Date: Mon, 09 Dec 2013 20:36:46 -0500 (EST)
From: David Miller <davem@...emloft.net>
To: zwu.kernel@...il.com
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
wuzhy@...ux.vnet.ibm.com
Subject: Re: [PATCH 2/2] tun: remove useless codes in tun_chr_aio_read()
and tun_recvmsg()
From: Zhi Yong Wu <zwu.kernel@...il.com>
Date: Sat, 7 Dec 2013 04:55:00 +0800
> From: Zhi Yong Wu <wuzhy@...ux.vnet.ibm.com>
>
> By checking related codes, it is impossible that ret > len or total_len,
> so we should remove some useless codes in both above functions.
>
> Signed-off-by: Zhi Yong Wu <wuzhy@...ux.vnet.ibm.com>
Applied.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists