• Arnd Bergmann's avatar
    net/irda: push BKL into proto_ops · 58a9d732
    Arnd Bergmann authored
    The irda driver uses the BKL implicitly in its protocol
    operations. Replace the wrapped proto_ops with explicit
    lock_kernel() calls makes the usage more obvious and
    shrinks the size of the object code.
    
    The calls t lock_kernel() should eventually all be replaced
    by other serialization methods, which requires finding out
    
    The calls t lock_kernel() should eventually all be replaced
    by other serialization methods, which requires finding out
    which data actually needs protection.
    Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    58a9d732
af_irda.c 67.8 KB