aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ucs2_string.c
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2016-07-24 08:16:56 +0000
committerMatt Fleming <[email protected]>2016-09-09 15:08:45 +0000
commitd520dd1f348dcaafcb8ce804b2a5ebb1be004719 (patch)
tree44f02265d055375d49df1b44408645d5aa055cf0 /lib/ucs2_string.c
parentx86/efi: Initialize status to ensure garbage is not returned on small size (diff)
downloadkernel-d520dd1f348dcaafcb8ce804b2a5ebb1be004719.tar.gz
kernel-d520dd1f348dcaafcb8ce804b2a5ebb1be004719.zip
firmware-gsmi: Delete an unnecessary check before the function call "dma_pool_destroy"
The dma_pool_destroy() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <[email protected]> Cc: Greg KH <[email protected]> Cc: Julia Lawall <[email protected]> Cc: Mike Waychison <[email protected]> Cc: Michel Lespinasse <[email protected]> Signed-off-by: Matt Fleming <[email protected]>
Diffstat (limited to 'lib/ucs2_string.c')
0 files changed, 0 insertions, 0 deletions