]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] st: simplify new_tape_buffer
authorFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Thu, 18 Dec 2008 05:49:47 +0000 (14:49 +0900)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Fri, 2 Jan 2009 18:01:35 +0000 (12:01 -0600)
commitf409d6cc688d4e87b0ebf577b6554695e1931705
treead434bf5b240b383f6e8de9b0c87c72330d4d350
parentb3d59115ba2b2550d70eafd929f1fa607fe588dc
[SCSI] st: simplify new_tape_buffer

- remove the from_initialization argument, which is always 1. We
always need to use GFP_ATOMIC.

- 'got' valuable is initialized to zero and doesn't change. We don't
need it.

Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Acked-by: Kai Makisara <Kai.Makisara@kolumbus.fi>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/st.c