Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1594363
| From | Steffen Maier <maier@linux.vnet.ibm.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/2] s390: zfcp: Remove unneeded linux/miscdevice.h include |
| Date | 2017-03-07 16:40 +0100 |
| Message-ID | <tipnt-152-29@gated-at.bofh.it> (permalink) |
| References | <sOFcK-6Oc-17@gated-at.bofh.it> <sOFcK-6Oc-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Thanks, Corentin, queued for next zfcp feature submission to linux-scsi as:
"zfcp: Remove unneeded linux/miscdevice.h include"
In fact, this seems a minor missing code cleanup of the following older
"feature" which also dropped the only former use of a misc device in zfcp:
663e0890e31cb85f0cca5ac1faaee0d2d52880b5
("[SCSI] zfcp: remove access control tables interface")
b5dc3c4800cc5c2c0b3c93a97eb4c7afa0aae49a
("[SCSI] zfcp: remove access control tables interface (keep sysfs files)")
1b33ef23946adee4b7d9d6b16b7285ce61063451
("zfcp: remove access control tables interface (port leftovers)").
On 12/15/2016 03:18 PM, Corentin Labbe wrote:
> drivers/s390/scsi/zfcp_aux.c does not contain any miscdevice so the
> inclusion of linux/miscdevice.h is uncessary.
>
> Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
> ---
> drivers/s390/scsi/zfcp_aux.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/s390/scsi/zfcp_aux.c b/drivers/s390/scsi/zfcp_aux.c
> index bcc8f3d..82ac331 100644
> --- a/drivers/s390/scsi/zfcp_aux.c
> +++ b/drivers/s390/scsi/zfcp_aux.c
> @@ -29,7 +29,6 @@
> #define KMSG_COMPONENT "zfcp"
> #define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
>
> -#include <linux/miscdevice.h>
> #include <linux/seq_file.h>
> #include <linux/slab.h>
> #include <linux/module.h>
>
--
Mit freundlichen Grüßen / Kind regards
Steffen Maier
Linux on z Systems Development
IBM Deutschland Research & Development GmbH
Vorsitzende des Aufsichtsrats: Martina Koederitz
Geschaeftsfuehrung: Dirk Wittkopp
Sitz der Gesellschaft: Boeblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH 2/2] s390: zfcp: Remove unneeded linux/miscdevice.h include Steffen Maier <maier@linux.vnet.ibm.com> - 2017-03-07 16:40 +0100
csiph-web