[lkml]   [2020]   [Apr]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] scsi: aic7xxx: Remove unnecessary NULL checks before kfree


> There are a number of places in the aic7xxx driver where a NULL check
> is performed before a kfree(). However, kfree() already performs NULL
> checks so this is unnecessary. Remove the checks.
> Issue identified with Coccinelle.

Applied to 5.8/scsi-queue, thanks!

Martin K. Petersen Oracle Linux Engineering

 \ /
  Last update: 2020-04-24 18:51    [W:0.055 / U:1.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site