dm: sysfs add empty release function to avoid debug warning
authorMilan Broz <mbroz@redhat.com>
Thu, 10 Dec 2009 23:51:53 +0000 (23:51 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Thu, 10 Dec 2009 23:51:53 +0000 (23:51 +0000)
commitd2bb7df8cac647b92f51fb84ae735771e7adbfa7
treea9da22b1a5b857c80ff459dbb5da7578547bae7d
parent613978f8711c7fd4d0aa856872375d2abd7c92ff
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: stable@kernel.org
Signed-off-by: Milan Broz <mbroz@redhat.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-sysfs.c