[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221005214844.2699-6-Jason@zx2c4.com>
Date: Wed, 5 Oct 2022 23:48:44 +0200
From: "Jason A. Donenfeld" <Jason@...c4.com>
To: linux-kernel@...r.kernel.org
Cc: "Jason A. Donenfeld" <Jason@...c4.com>,
brcm80211-dev-list.pdl@...adcom.com, cake@...ts.bufferbloat.net,
ceph-devel@...r.kernel.org, coreteam@...filter.org,
dccp@...r.kernel.org, dev@...nvswitch.org,
dmaengine@...r.kernel.org, drbd-dev@...ts.linbit.com,
dri-devel@...ts.freedesktop.org, kasan-dev@...glegroups.com,
linux-actions@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org, linux-block@...r.kernel.org,
linux-crypto@...r.kernel.org, linux-doc@...r.kernel.org,
linux-ext4@...r.kernel.org, linux-f2fs-devel@...ts.sourceforge.net,
linux-fbdev@...r.kernel.org, linux-fsdevel@...r.kernel.org,
linux-hams@...r.kernel.org, linux-media@...r.kernel.org,
linux-mm@...ck.org, linux-mmc@...r.kernel.org,
linux-mtd@...ts.infradead.org, linux-nfs@...r.kernel.org,
linux-nvme@...ts.infradead.org, linux-raid@...r.kernel.org,
linux-rdma@...r.kernel.org, linux-scsi@...r.kernel.org,
linux-sctp@...r.kernel.org,
linux-stm32@...md-mailman.stormreply.com,
linux-usb@...r.kernel.org, linux-wireless@...r.kernel.org,
linux-xfs@...r.kernel.org, linuxppc-dev@...ts.ozlabs.org,
lvs-devel@...r.kernel.org, netdev@...r.kernel.org,
netfilter-devel@...r.kernel.org, rds-devel@....oracle.com,
SHA-cyfmac-dev-list@...ineon.com, target-devel@...r.kernel.org,
tipc-discussion@...ts.sourceforge.net
Subject: [PATCH v1 5/5] prandom: remove unused functions
With no callers left of prandom_u32() and prandom_bytes(), remove these
deprecated wrappers.
Signed-off-by: Jason A. Donenfeld <Jason@...c4.com>
---
include/linux/prandom.h | 12 ------------
1 file changed, 12 deletions(-)
diff --git a/include/linux/prandom.h b/include/linux/prandom.h
index 78db003bc290..e0a0759dd09c 100644
--- a/include/linux/prandom.h
+++ b/include/linux/prandom.h
@@ -12,18 +12,6 @@
#include <linux/percpu.h>
#include <linux/random.h>
-/* Deprecated: use get_random_u32 instead. */
-static inline u32 prandom_u32(void)
-{
- return get_random_u32();
-}
-
-/* Deprecated: use get_random_bytes instead. */
-static inline void prandom_bytes(void *buf, size_t nbytes)
-{
- return get_random_bytes(buf, nbytes);
-}
-
struct rnd_state {
__u32 s1, s2, s3, s4;
};
--
2.37.3
Powered by blists - more mailing lists