You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
net: Remove unnecessary NULL check in scm_destroy().
All callers provide a non-NULL scm argument. Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
+1
-1
@@ -73,7 +73,7 @@ static __inline__ void scm_destroy_cred(struct scm_cookie *scm)
|
||||
static __inline__ void scm_destroy(struct scm_cookie *scm)
|
||||
{
|
||||
scm_destroy_cred(scm);
|
||||
if (scm && scm->fp)
|
||||
if (scm->fp)
|
||||
__scm_destroy(scm);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user