linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] s390/zcore: Remove unneeded linux/miscdevice.h include
@ 2016-12-15 14:18 Corentin Labbe
  2016-12-15 14:18 ` [PATCH 2/2] s390: zfcp: " Corentin Labbe
  2016-12-16 11:09 ` [PATCH 1/2] s390/zcore: " Heiko Carstens
  0 siblings, 2 replies; 4+ messages in thread
From: Corentin Labbe @ 2016-12-15 14:18 UTC (permalink / raw)
  To: maier, linux-s390, schwidefsky, heiko.carstens
  Cc: linux-kernel, Corentin Labbe

drivers/s390/char/zcore.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/char/zcore.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/s390/char/zcore.c b/drivers/s390/char/zcore.c
index f771e5e..47b54eb 100644
--- a/drivers/s390/char/zcore.c
+++ b/drivers/s390/char/zcore.c
@@ -15,7 +15,6 @@
 
 #include <linux/init.h>
 #include <linux/slab.h>
-#include <linux/miscdevice.h>
 #include <linux/debugfs.h>
 #include <linux/memblock.h>
 
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH 2/2] s390: zfcp: Remove unneeded linux/miscdevice.h include
  2016-12-15 14:18 [PATCH 1/2] s390/zcore: Remove unneeded linux/miscdevice.h include Corentin Labbe
@ 2016-12-15 14:18 ` Corentin Labbe
  2017-03-07 15:30   ` Steffen Maier
  2016-12-16 11:09 ` [PATCH 1/2] s390/zcore: " Heiko Carstens
  1 sibling, 1 reply; 4+ messages in thread
From: Corentin Labbe @ 2016-12-15 14:18 UTC (permalink / raw)
  To: maier, linux-s390, schwidefsky, heiko.carstens
  Cc: linux-kernel, Corentin Labbe

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>
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/2] s390/zcore: Remove unneeded linux/miscdevice.h include
  2016-12-15 14:18 [PATCH 1/2] s390/zcore: Remove unneeded linux/miscdevice.h include Corentin Labbe
  2016-12-15 14:18 ` [PATCH 2/2] s390: zfcp: " Corentin Labbe
@ 2016-12-16 11:09 ` Heiko Carstens
  1 sibling, 0 replies; 4+ messages in thread
From: Heiko Carstens @ 2016-12-16 11:09 UTC (permalink / raw)
  To: Corentin Labbe; +Cc: maier, linux-s390, schwidefsky, linux-kernel

On Thu, Dec 15, 2016 at 03:18:23PM +0100, Corentin Labbe wrote:
> drivers/s390/char/zcore.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/char/zcore.c | 1 -
>  1 file changed, 1 deletion(-)

Applied, thanks.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 2/2] s390: zfcp: Remove unneeded linux/miscdevice.h include
  2016-12-15 14:18 ` [PATCH 2/2] s390: zfcp: " Corentin Labbe
@ 2017-03-07 15:30   ` Steffen Maier
  0 siblings, 0 replies; 4+ messages in thread
From: Steffen Maier @ 2017-03-07 15:30 UTC (permalink / raw)
  To: Corentin Labbe, linux-s390, schwidefsky, heiko.carstens; +Cc: linux-kernel

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-03-07 15:30 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-15 14:18 [PATCH 1/2] s390/zcore: Remove unneeded linux/miscdevice.h include Corentin Labbe
2016-12-15 14:18 ` [PATCH 2/2] s390: zfcp: " Corentin Labbe
2017-03-07 15:30   ` Steffen Maier
2016-12-16 11:09 ` [PATCH 1/2] s390/zcore: " Heiko Carstens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).