Re: [PATCH] tcm_fc: remove duplicated #include

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 2011-07-23 at 16:21 +0800, Huang Weiyi wrote:
> Remove duplicated #include('s) in
>   drivers/target/tcm_fc/tfc_cmd.c
>   drivers/target/tcm_fc/tfc_conf.c
>   drivers/target/tcm_fc/tfc_io.c
>   drivers/target/tcm_fc/tfc_sess.c
> 
> Signed-off-by: Huang Weiyi <weiyi.huang@xxxxxxxxx>

Hi Huang,

This looks like a reasonable include cleanup to me.  Committed as
d818f87706 into lio-core-2.6.git..

Thanks!

--nab

> ---
>  drivers/target/tcm_fc/tfc_cmd.c  |    1 -
>  drivers/target/tcm_fc/tfc_conf.c |    1 -
>  drivers/target/tcm_fc/tfc_io.c   |    1 -
>  drivers/target/tcm_fc/tfc_sess.c |    2 --
>  4 files changed, 0 insertions(+), 5 deletions(-)
> 
> diff --git a/drivers/target/tcm_fc/tfc_cmd.c b/drivers/target/tcm_fc/tfc_cmd.c
> index a9e9a31..2aa2d5a 100644
> --- a/drivers/target/tcm_fc/tfc_cmd.c
> +++ b/drivers/target/tcm_fc/tfc_cmd.c
> @@ -45,7 +45,6 @@
>  #include <target/target_core_device.h>
>  #include <target/target_core_tpg.h>
>  #include <target/target_core_configfs.h>
> -#include <target/target_core_base.h>
>  #include <target/target_core_tmr.h>
>  #include <target/configfs_macros.h>
>  
> diff --git a/drivers/target/tcm_fc/tfc_conf.c b/drivers/target/tcm_fc/tfc_conf.c
> index d63e3dd..8781d1e 100644
> --- a/drivers/target/tcm_fc/tfc_conf.c
> +++ b/drivers/target/tcm_fc/tfc_conf.c
> @@ -48,7 +48,6 @@
>  #include <target/target_core_device.h>
>  #include <target/target_core_tpg.h>
>  #include <target/target_core_configfs.h>
> -#include <target/target_core_base.h>
>  #include <target/configfs_macros.h>
>  
>  #include "tcm_fc.h"
> diff --git a/drivers/target/tcm_fc/tfc_io.c b/drivers/target/tcm_fc/tfc_io.c
> index 11e6483..8e2a46d 100644
> --- a/drivers/target/tcm_fc/tfc_io.c
> +++ b/drivers/target/tcm_fc/tfc_io.c
> @@ -54,7 +54,6 @@
>  #include <target/target_core_device.h>
>  #include <target/target_core_tpg.h>
>  #include <target/target_core_configfs.h>
> -#include <target/target_core_base.h>
>  #include <target/configfs_macros.h>
>  
>  #include "tcm_fc.h"
> diff --git a/drivers/target/tcm_fc/tfc_sess.c b/drivers/target/tcm_fc/tfc_sess.c
> index fbcbb3d..dbb5eae 100644
> --- a/drivers/target/tcm_fc/tfc_sess.c
> +++ b/drivers/target/tcm_fc/tfc_sess.c
> @@ -46,10 +46,8 @@
>  #include <target/target_core_device.h>
>  #include <target/target_core_tpg.h>
>  #include <target/target_core_configfs.h>
> -#include <target/target_core_base.h>
>  #include <target/configfs_macros.h>
>  
> -#include <scsi/libfc.h>
>  #include "tcm_fc.h"
>  
>  static void ft_sess_delete_all(struct ft_tport *);

--
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux