Skip to content

Commit a861147

Browse files
davemarchevskyKernel Patches Daemon
authored andcommitted
bpf: Remove duplicate define in bpf_local_storage.h
BPF_LOCAL_STORAGE_CACHE_SIZE is defined elsewhere in the same header. Signed-off-by: Dave Marchevsky <[email protected]>
1 parent c692627 commit a861147

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

include/linux/bpf_local_storage.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,8 +104,6 @@ struct bpf_local_storage {
104104
container_of((_SDATA), struct bpf_local_storage_elem, sdata)
105105
#define SDATA(_SELEM) (&(_SELEM)->sdata)
106106

107-
#define BPF_LOCAL_STORAGE_CACHE_SIZE 16
108-
109107
struct bpf_local_storage_cache {
110108
spinlock_t idx_lock;
111109
u64 idx_usage_counts[BPF_LOCAL_STORAGE_CACHE_SIZE];

0 commit comments

Comments
 (0)