• 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
doc Loading commit data...
kernel Loading commit data...
sdb-lib Loading commit data...
tools Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
Makefile Loading commit data...