procfs: do not test for the existence of /proc/filesystems

The test for the existence of /proc/filesystems is redundant since we
always return success.
This commit is contained in:
William Hubbs 2015-04-19 13:59:12 -05:00
parent 8d307a6fad
commit 6d81d3be1b

View File

@ -18,8 +18,6 @@ start()
modprobe -q usbcore modprobe -q usbcore
fi fi
[ -e /proc/filesystems ] || return 0
# Setup Kernel Support for miscellaneous Binary Formats # Setup Kernel Support for miscellaneous Binary Formats
if [ -d /proc/sys/fs/binfmt_misc -a ! -e /proc/sys/fs/binfmt_misc/register ]; then if [ -d /proc/sys/fs/binfmt_misc -a ! -e /proc/sys/fs/binfmt_misc/register ]; then
if grep -qs binfmt_misc /proc/filesystems; then if grep -qs binfmt_misc /proc/filesystems; then