Skip to content

Commit 995f577

Browse files
committed
Add __maybe_unused macro for unused attribute
1 parent 5aeea28 commit 995f577

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kernel/pipe.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
#define PIPE_MIN_SIZE 4
1010
#define PIPE_MAX_SIZE 32768
1111

12+
#define __maybe_unused __attribute__((__unused__))
13+
1214
/* Enhanced validation with comprehensive integrity checks */
1315
static inline bool pipe_is_valid(const pipe_t *p)
1416
{

0 commit comments

Comments
 (0)