• Alessandro Rubini's avatar
    FMC: remove unused and misleading conditionals · fb1a0ef4
    Alessandro Rubini authored
    At registration and unregistration time, I was checking fmc->flags
    for FMC_DEVICE_NO_MEZZANINE, to skip initialization and cleanup for
    empty slots.  But the check was wrong (see previous commit) and
    the conditional was never triggered.
    
    I think we should register slots with no mezzanines, because the
    carrier may offer some support anyways (the SPEC does), so the commit
    removes the conditionals instead of fixing them.
    Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
    fb1a0ef4
Name
Last commit
Last update
..
include/linux Loading commit data...
.gitignore Loading commit data...
Makefile Loading commit data...
fmc-chardev.c Loading commit data...
fmc-core.c Loading commit data...
fmc-dump.c Loading commit data...
fmc-fakedev.c Loading commit data...
fmc-match.c Loading commit data...
fmc-sdb.c Loading commit data...
fmc-trivial.c Loading commit data...
fmc-write-eeprom.c Loading commit data...
fru-parse.c Loading commit data...