2015-11-15 11:48:27

by Geert Uytterhoeven

[permalink] [raw]
Subject: [PATCH] [SCSI] st: Remove obsolete scsi_tape.max_pfn

Its last user was removed 10 years ago, in commit
8b05b773b6030de5 ("[SCSI] convert st to use scsi_execute_async").

Signed-off-by: Geert Uytterhoeven <[email protected]>
---
drivers/scsi/st.h | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/scsi/st.h b/drivers/scsi/st.h
index b6486b5d86811227..8c732c8de0153eb1 100644
--- a/drivers/scsi/st.h
+++ b/drivers/scsi/st.h
@@ -148,8 +148,6 @@ struct scsi_tape {
int tape_type;
int long_timeout; /* timeout for commands known to take long time */

- unsigned long max_pfn; /* the maximum page number reachable by the HBA */
-
/* Mode characteristics */
struct st_modedef modes[ST_NBR_MODES];
int current_mode;
--
1.9.1


2015-11-17 15:01:06

by Ewan Milne

[permalink] [raw]
Subject: Re: [PATCH] [SCSI] st: Remove obsolete scsi_tape.max_pfn

On Sun, 2015-11-15 at 12:48 +0100, Geert Uytterhoeven wrote:
> Its last user was removed 10 years ago, in commit
> 8b05b773b6030de5 ("[SCSI] convert st to use scsi_execute_async").
>
> Signed-off-by: Geert Uytterhoeven <[email protected]>
> ---
> drivers/scsi/st.h | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/scsi/st.h b/drivers/scsi/st.h
> index b6486b5d86811227..8c732c8de0153eb1 100644
> --- a/drivers/scsi/st.h
> +++ b/drivers/scsi/st.h
> @@ -148,8 +148,6 @@ struct scsi_tape {
> int tape_type;
> int long_timeout; /* timeout for commands known to take long time */
>
> - unsigned long max_pfn; /* the maximum page number reachable by the HBA */
> -
> /* Mode characteristics */
> struct st_modedef modes[ST_NBR_MODES];
> int current_mode;

Reviewed-by: Ewan D. Milne <[email protected]>

2015-11-17 20:10:39

by Kai Mäkisara (Kolumbus)

[permalink] [raw]
Subject: Re: [PATCH] [SCSI] st: Remove obsolete scsi_tape.max_pfn


> On 15.11.2015, at 13.48, Geert Uytterhoeven <[email protected]> wrote:
>
> Its last user was removed 10 years ago, in commit
> 8b05b773b6030de5 ("[SCSI] convert st to use scsi_execute_async").
>
> Signed-off-by: Geert Uytterhoeven <[email protected]>

Acked-by: Kai Mäkisara <[email protected]>

Thanks,
Kai

2015-11-18 17:00:52

by Martin K. Petersen

[permalink] [raw]
Subject: Re: [PATCH] [SCSI] st: Remove obsolete scsi_tape.max_pfn

>>>>> "Geert" == Geert Uytterhoeven <[email protected]> writes:

Geert> Its last user was removed 10 years ago, in commit
Geert> 8b05b773b6030de5 ("[SCSI] convert st to use scsi_execute_async").

Applied to the 4.5 queue.

--
Martin K. Petersen Oracle Linux Engineering