diff options
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/scm.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/scm.h b/include/net/scm.h index 456695f5cbc4..975cca01048b 100644 --- a/include/net/scm.h +++ b/include/net/scm.h | |||
@@ -73,7 +73,7 @@ static __inline__ void scm_destroy_cred(struct scm_cookie *scm) | |||
73 | static __inline__ void scm_destroy(struct scm_cookie *scm) | 73 | static __inline__ void scm_destroy(struct scm_cookie *scm) |
74 | { | 74 | { |
75 | scm_destroy_cred(scm); | 75 | scm_destroy_cred(scm); |
76 | if (scm && scm->fp) | 76 | if (scm->fp) |
77 | __scm_destroy(scm); | 77 | __scm_destroy(scm); |
78 | } | 78 | } |
79 | 79 | ||