diff options
Diffstat (limited to 'drivers/scsi/st.c')
-rw-r--r-- | drivers/scsi/st.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/scsi/st.c b/drivers/scsi/st.c index 6b85f84c8397..770c4324f3d5 100644 --- a/drivers/scsi/st.c +++ b/drivers/scsi/st.c | |||
@@ -4107,8 +4107,7 @@ out_free_tape: | |||
4107 | write_unlock(&st_dev_arr_lock); | 4107 | write_unlock(&st_dev_arr_lock); |
4108 | out_put_disk: | 4108 | out_put_disk: |
4109 | put_disk(disk); | 4109 | put_disk(disk); |
4110 | if (tpnt) | 4110 | kfree(tpnt); |
4111 | kfree(tpnt); | ||
4112 | out_buffer_free: | 4111 | out_buffer_free: |
4113 | kfree(buffer); | 4112 | kfree(buffer); |
4114 | out: | 4113 | out: |