linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] skbuff: remove unused HAVE_HW_TIME_STAMP feature define
@ 2023-07-21 19:18 Peter Seiderer
  2023-07-24 11:27 ` Simon Horman
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Seiderer @ 2023-07-21 19:18 UTC (permalink / raw)
  To: linux-kernel
  Cc: Jakub Kicinski, David S . Miller, Eric Dumazet, Simon Horman,
	Alexei Starovoitov, Yunsheng Lin, Pavel Begunkov, Richard Gobert,
	Peter Seiderer

Remove unused HAVE_HW_TIME_STAMP feature define (introduced by
commit ac45f602ee3d ("net: infrastructure for hardware time stamping").

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
---
 include/linux/skbuff.h | 2 --
 1 file changed, 2 deletions(-)

diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
index faaba050f843..16a49ba534e4 100644
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -441,8 +441,6 @@ static inline bool skb_frag_must_loop(struct page *p)
 	     copied += p_len, p++, p_off = 0,				\
 	     p_len = min_t(u32, f_len - copied, PAGE_SIZE))		\
 
-#define HAVE_HW_TIME_STAMP
-
 /**
  * struct skb_shared_hwtstamps - hardware time stamps
  * @hwtstamp:		hardware time stamp transformed into duration
-- 
2.41.0


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

* Re: [PATCH v1] skbuff: remove unused HAVE_HW_TIME_STAMP feature define
  2023-07-21 19:18 [PATCH v1] skbuff: remove unused HAVE_HW_TIME_STAMP feature define Peter Seiderer
@ 2023-07-24 11:27 ` Simon Horman
  0 siblings, 0 replies; 2+ messages in thread
From: Simon Horman @ 2023-07-24 11:27 UTC (permalink / raw)
  To: Peter Seiderer
  Cc: linux-kernel, Jakub Kicinski, David S . Miller, Eric Dumazet,
	Alexei Starovoitov, Yunsheng Lin, Pavel Begunkov, Richard Gobert

On Fri, Jul 21, 2023 at 09:18:05PM +0200, Peter Seiderer wrote:
> Remove unused HAVE_HW_TIME_STAMP feature define (introduced by
> commit ac45f602ee3d ("net: infrastructure for hardware time stamping").
> 
> Signed-off-by: Peter Seiderer <ps.report@gmx.net>

Hi Peter,

this patch looks good to me, however a few tweaks are needed to the
submission in order for it to enter the review pipeline, and thus
path to being accepted.

1. For networking patches, please specify the target tree.
   Fixes go to 'net'. Other patches go to 'net-next'
   This appears to be in the latter category. So:

   Subject: [PATCH net-next] ...

2. Looking at the git history of include/linux/skbuff.h,
   it seems that 'net: skbuff: is the preferred prefix.
   So:

   Subject: [PATCH net-next] net: skubff: ...

3. Please CC netdev@vger.kernel.org

   This is the most important part, else our automated systems don't see
   the patch, and it doesn't exist in the pipeline.

   As an aside, in general, and in this case, there is no need to copy
   linux-kernel@vger.kernel.org on Networking patches.

4. Please do CC parties to any patches mentioned, in this case
   ac45f602ee3d. Which I think means:

   Patrick Ohly <patrick.ohly@intel.com>

Ref: https://docs.kernel.org/process/maintainer-netdev.html

> ---
>  include/linux/skbuff.h | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/include/linux/skbuff.h b/include/linux/skbuff.h
> index faaba050f843..16a49ba534e4 100644
> --- a/include/linux/skbuff.h
> +++ b/include/linux/skbuff.h
> @@ -441,8 +441,6 @@ static inline bool skb_frag_must_loop(struct page *p)
>  	     copied += p_len, p++, p_off = 0,				\
>  	     p_len = min_t(u32, f_len - copied, PAGE_SIZE))		\
>  
> -#define HAVE_HW_TIME_STAMP
> -
>  /**
>   * struct skb_shared_hwtstamps - hardware time stamps
>   * @hwtstamp:		hardware time stamp transformed into duration
> -- 
> 2.41.0
> 

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

end of thread, other threads:[~2023-07-24 11:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-21 19:18 [PATCH v1] skbuff: remove unused HAVE_HW_TIME_STAMP feature define Peter Seiderer
2023-07-24 11:27 ` Simon Horman

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).