diff options
Diffstat (limited to 'arch/s390/mm/extmem.c')
-rw-r--r-- | arch/s390/mm/extmem.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/s390/mm/extmem.c b/arch/s390/mm/extmem.c index c5348108ca3c..506a33b51e4f 100644 --- a/arch/s390/mm/extmem.c +++ b/arch/s390/mm/extmem.c | |||
@@ -234,8 +234,8 @@ query_segment_type (struct dcss_segment *seg) | |||
234 | rc = 0; | 234 | rc = 0; |
235 | 235 | ||
236 | out_free: | 236 | out_free: |
237 | if (qin) kfree(qin); | 237 | kfree(qin); |
238 | if (qout) kfree(qout); | 238 | kfree(qout); |
239 | return rc; | 239 | return rc; |
240 | } | 240 | } |
241 | 241 | ||
@@ -394,7 +394,7 @@ __segment_load (char *name, int do_nonshared, unsigned long *addr, unsigned long | |||
394 | segtype_string[seg->vm_segtype]); | 394 | segtype_string[seg->vm_segtype]); |
395 | goto out; | 395 | goto out; |
396 | out_free: | 396 | out_free: |
397 | kfree (seg); | 397 | kfree(seg); |
398 | out: | 398 | out: |
399 | return rc; | 399 | return rc; |
400 | } | 400 | } |
@@ -505,7 +505,7 @@ segment_modify_shared (char *name, int do_nonshared) | |||
505 | list_del(&seg->list); | 505 | list_del(&seg->list); |
506 | dcss_diag(DCSS_PURGESEG, seg->dcss_name, | 506 | dcss_diag(DCSS_PURGESEG, seg->dcss_name, |
507 | &dummy, &dummy); | 507 | &dummy, &dummy); |
508 | kfree (seg); | 508 | kfree(seg); |
509 | out_unlock: | 509 | out_unlock: |
510 | spin_unlock(&dcss_lock); | 510 | spin_unlock(&dcss_lock); |
511 | return rc; | 511 | return rc; |