summaryrefslogtreecommitdiff
path: root/src/udev/udev-builtin-kmod.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-10-25 09:26:31 +0200
committerLennart Poettering <lennart@poettering.net>2016-11-02 11:29:59 -0600
commit4f14f2bb6f7402302fd4fcad6754e5ee218f4487 (patch)
tree33c802a1d3bedd402e2da2144c7b2e524d65b3c4 /src/udev/udev-builtin-kmod.c
parent98bf5011fe670ea18b7b35d6c8ca3e84d4efbccf (diff)
sysctl: no need to check for eof twice
Let's only check for eof once after the fgets(). There's no point in checking EOF before the first read, and twice in each loop.
Diffstat (limited to 'src/udev/udev-builtin-kmod.c')
0 files changed, 0 insertions, 0 deletions