dm: sysfs revert add empty release function to avoid debug warning
authorAlasdair G Kergon <agk@redhat.com>
Tue, 16 Feb 2010 18:43:04 +0000 (18:43 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Tue, 16 Feb 2010 18:43:04 +0000 (18:43 +0000)
commit9307f6b19ac4f5887552b5b2992f391b866f7633
treebad439cf03f6e2b7aecb4fa78d6098feea443dd5
parent9eef87da2a8ea4920e0d913ff977cac064b68ee0
dm: sysfs revert add empty release function to avoid debug warning

Revert commit d2bb7df8cac647b92f51fb84ae735771e7adbfa7 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: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-sysfs.c