Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Unverified Commit 0542a537 authored by Adam W. Willis's avatar Adam W. Willis Committed by Gagan Malvi
Browse files

random: Mark random_read as __maybe_unused



Fix unused function warning subsequent to f9ca1a2 ("random: always use /dev/urandom")

This silences the following compiler warning:

../drivers/char/random.c:1841:1: warning: unused function 'random_read' [-Wunused-function]
random_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos)
^

Signed-off-by: default avatarAdam W. Willis <return.of.octobot@gmail.com>
parent 47c5bc6f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment