lkml.org 
[lkml]   [2021]   [Sep]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch v8 5/7] nbd: clean up return value checking of sock_xmit()
    On Thu, Sep 16, 2021 at 05:33:48PM +0800, Yu Kuai wrote:
    > Check if sock_xmit() return 0 is useless because it'll never return
    > 0, comment it and remove such checkings.
    >
    > Signed-off-by: Yu Kuai <yukuai3@huawei.com>
    > ---
    > drivers/block/nbd.c | 13 +++++++------
    > 1 file changed, 7 insertions(+), 6 deletions(-)

    Reviewed-by: Ming Lei <ming.lei@redhat.com>

    --
    Ming

    \
     
     \ /
      Last update: 2021-09-16 14:51    [W:4.124 / U:0.020 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site