]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: rtl8188eu: core: Remove NULL test before vfree
authorShyam Saini <mayhs11saini@gmail.com>
Mon, 16 Jan 2017 04:18:19 +0000 (09:48 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 19 Jan 2017 10:32:29 +0000 (11:32 +0100)
commitf17331eb4bbb1db8a05ac1c63d39f4d5adec8835
treeff6f6d70c9e5096d58a93674976a31be0c0ed513
parent564f87f95263a15667ddf32dd14f707d3a2aeb81
staging: rtl8188eu: core: Remove NULL test before vfree

vfree frees the virtually continuous block of memory beginning at
addr. If addr is NULL, no operation is performed. So, NULL test is not
needed before vfree().

Signed-off-by: Shyam Saini <mayhs11saini@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8188eu/core/rtw_xmit.c