diff mbox series

counter: intel-qep: Remove linux/bitops.h include

Message ID 20210629111657.2655688-1-jarkko.nikula@linux.intel.com (mailing list archive)
State Accepted
Headers show
Series counter: intel-qep: Remove linux/bitops.h include | expand

Commit Message

Jarkko Nikula June 29, 2021, 11:16 a.m. UTC
0-DAY CI Kernel Test Service reported following iwyu warning:

drivers/counter/intel-qep.c:11:1: iwyu: warning: superfluous #include <linux/bitops.h>

Remove that include since we don't seem to use anything from it.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>
---
 drivers/counter/intel-qep.c | 1 -
 1 file changed, 1 deletion(-)

Comments

William Breathitt Gray June 29, 2021, 12:05 p.m. UTC | #1
On Tue, Jun 29, 2021 at 02:16:57PM +0300, Jarkko Nikula wrote:
> 0-DAY CI Kernel Test Service reported following iwyu warning:
> 
> drivers/counter/intel-qep.c:11:1: iwyu: warning: superfluous #include <linux/bitops.h>
> 
> Remove that include since we don't seem to use anything from it.
> 
> Reported-by: kernel test robot <lkp@intel.com>
> Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>

Acked-by: William Breathitt Gray <vilhelm.gray@gmail.com>

> ---
>  drivers/counter/intel-qep.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/counter/intel-qep.c b/drivers/counter/intel-qep.c
> index 8d7ae28fbd67..1a9512e28519 100644
> --- a/drivers/counter/intel-qep.c
> +++ b/drivers/counter/intel-qep.c
> @@ -8,7 +8,6 @@
>   * Author: Jarkko Nikula <jarkko.nikula@linux.intel.com>
>   * Author: Raymond Tan <raymond.tan@intel.com>
>   */
> -#include <linux/bitops.h>
>  #include <linux/counter.h>
>  #include <linux/kernel.h>
>  #include <linux/module.h>
> -- 
> 2.30.2
>
Jonathan Cameron July 13, 2021, 6:07 p.m. UTC | #2
On Tue, 29 Jun 2021 21:05:39 +0900
William Breathitt Gray <vilhelm.gray@gmail.com> wrote:

> On Tue, Jun 29, 2021 at 02:16:57PM +0300, Jarkko Nikula wrote:
> > 0-DAY CI Kernel Test Service reported following iwyu warning:
> > 
> > drivers/counter/intel-qep.c:11:1: iwyu: warning: superfluous #include <linux/bitops.h>
> > 
> > Remove that include since we don't seem to use anything from it.
> > 
> > Reported-by: kernel test robot <lkp@intel.com>
> > Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com>  
> 
> Acked-by: William Breathitt Gray <vilhelm.gray@gmail.com>
Applied,

Thanks,

Jonathan

> 
> > ---
> >  drivers/counter/intel-qep.c | 1 -
> >  1 file changed, 1 deletion(-)
> > 
> > diff --git a/drivers/counter/intel-qep.c b/drivers/counter/intel-qep.c
> > index 8d7ae28fbd67..1a9512e28519 100644
> > --- a/drivers/counter/intel-qep.c
> > +++ b/drivers/counter/intel-qep.c
> > @@ -8,7 +8,6 @@
> >   * Author: Jarkko Nikula <jarkko.nikula@linux.intel.com>
> >   * Author: Raymond Tan <raymond.tan@intel.com>
> >   */
> > -#include <linux/bitops.h>
> >  #include <linux/counter.h>
> >  #include <linux/kernel.h>
> >  #include <linux/module.h>
> > -- 
> > 2.30.2
> >
diff mbox series

Patch

diff --git a/drivers/counter/intel-qep.c b/drivers/counter/intel-qep.c
index 8d7ae28fbd67..1a9512e28519 100644
--- a/drivers/counter/intel-qep.c
+++ b/drivers/counter/intel-qep.c
@@ -8,7 +8,6 @@ 
  * Author: Jarkko Nikula <jarkko.nikula@linux.intel.com>
  * Author: Raymond Tan <raymond.tan@intel.com>
  */
-#include <linux/bitops.h>
 #include <linux/counter.h>
 #include <linux/kernel.h>
 #include <linux/module.h>