2023-07-21 20:11:07

by Peter Seiderer

[permalink] [raw]
Subject: [PATCH v1] skbuff: remove unused HAVE_HW_TIME_STAMP feature define

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

Signed-off-by: Peter Seiderer <[email protected]>
---
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


2023-07-24 12:16:58

by Simon Horman

[permalink] [raw]
Subject: Re: [PATCH v1] skbuff: remove unused HAVE_HW_TIME_STAMP feature define

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 <[email protected]>

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 [email protected]

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
[email protected] on Networking patches.

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

Patrick Ohly <[email protected]>

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
>