sunshine: 2025.118.151840 -> 2025.122.141614 (#376248)
[NixPkgs.git] / pkgs / by-name / ke / keyutils / 0001-Remove-unused-function-after_eq.patch
blob61ad2a474f9a9d617a3945d531bf76237dab0059
1 From 59d91e57d103fb4686d2f45ee3c688878244367a Mon Sep 17 00:00:00 2001
2 From: Christian Kampka <christian@kampka.net>
3 Date: Tue, 24 Nov 2020 22:12:40 +0100
4 Subject: [PATCH] Remove unused function 'after_eq'
6 ---
7 keyctl_watch.c | 5 -----
8 1 file changed, 5 deletions(-)
10 diff --git a/keyctl_watch.c b/keyctl_watch.c
11 index a70a19a..c4ca7f7 100644
12 --- a/keyctl_watch.c
13 +++ b/keyctl_watch.c
14 @@ -47,11 +47,6 @@ static struct watch_notification_filter filter = {
18 -static inline bool after_eq(unsigned int a, unsigned int b)
20 - return (signed int)(a - b) >= 0;
23 static void consumer_term(int sig)
25 consumer_stop = 1;
26 --
27 2.28.0