diff options
Diffstat (limited to 'drivers/ieee1394/nodemgr.c')
-rw-r--r-- | drivers/ieee1394/nodemgr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ieee1394/nodemgr.c b/drivers/ieee1394/nodemgr.c index a1e30a66297b..83e66ed97ab5 100644 --- a/drivers/ieee1394/nodemgr.c +++ b/drivers/ieee1394/nodemgr.c | |||
@@ -1005,8 +1005,7 @@ static struct unit_directory *nodemgr_process_unit_directory | |||
1005 | return ud; | 1005 | return ud; |
1006 | 1006 | ||
1007 | unit_directory_error: | 1007 | unit_directory_error: |
1008 | if (ud != NULL) | 1008 | kfree(ud); |
1009 | kfree(ud); | ||
1010 | return NULL; | 1009 | return NULL; |
1011 | } | 1010 | } |
1012 | 1011 | ||