• Alasdair G Kergon's avatar
    dm: sysfs revert add empty release function to avoid debug warning · 9307f6b1
    Alasdair G Kergon authored
    Revert commit d2bb7df8 at Greg's request.
    
        Author: Milan Broz <mbroz@redhat.com>
        Date:   Thu Dec 10 23:51:53 2009 +0000
    
        dm: sysfs add empty release function to avoid debug warning
    
        This patch just removes an unnecessary warning:
         kobject: 'dm': does not have a release() function,
         it is broken and must be fixed.
    
        The kobject is embedded in mapped device struct, so
        code does not need to release memory explicitly here.
    
    Cc: Greg KH <gregkh@suse.de>
    Signed-off-by: default avatarAlasdair G Kergon <agk@redhat.com>
    9307f6b1
dm-sysfs.c 2.16 KB