X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=fs%2F9p%2Ftrans_sock.c;h=a93c2bf94c331a7b20326caa5a36c217fab3f023;hb=8cde0776ec1e86c270f65bf482f96288e6bf0023;hp=01e26f0013aced186efe40992d34996999ded2da;hpb=dbaa9a9d2b37d838125fb7f2b9fdc5dc5fa4eaa9;p=linux-2.6 diff --git a/fs/9p/trans_sock.c b/fs/9p/trans_sock.c index 01e26f0013..a93c2bf94c 100644 --- a/fs/9p/trans_sock.c +++ b/fs/9p/trans_sock.c @@ -269,8 +269,7 @@ static void v9fs_sock_close(struct v9fs_transport *trans) dprintk(DEBUG_TRANS, "socket closed\n"); } - if (ts) - kfree(ts); + kfree(ts); trans->priv = NULL; }