lkml.org 
[lkml]   [2011]   [Jan]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] target: remove duplicate include of target/target_core_device.h from drivers/target/target_core_hba.c
From
Date
On Mon, 2011-01-17 at 22:46 +0100, Jesper Juhl wrote:
> drivers/target/target_core_hba.c includes target/target_core_device.h
> twice - the two includes are even on two lines next to each other.
> This patch removes the duplicate include.
>
> Signed-off-by: Jesper Juhl <jj@chaosbits.net>

Committed as:

[linus-38-rc1 95f39d1] target: remove duplicate include target_core_device.h

Please let me know if you have more include cleanups so they can be git
squashed' into a single commit for scsi-post-merge-2.6.git/for-jejb.

Thanks!

--nab


> ---
> target_core_hba.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/target/target_core_hba.c b/drivers/target/target_core_hba.c
> index 4bbe820..74d84f7 100644
> --- a/drivers/target/target_core_hba.c
> +++ b/drivers/target/target_core_hba.c
> @@ -38,7 +38,6 @@
>
> #include <target/target_core_base.h>
> #include <target/target_core_device.h>
> -#include <target/target_core_device.h>
> #include <target/target_core_tpg.h>
> #include <target/target_core_transport.h>
>
>



\
 
 \ /
  Last update: 2011-01-17 23:25    [W:0.035 / U:3.472 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site