pstore: fix build warning for unused return value from sysfs_create_file
authorTony Luck <tony.luck@intel.com>
Fri, 7 Jan 2011 00:58:58 +0000 (16:58 -0800)
committerTony Luck <tony.luck@intel.com>
Fri, 7 Jan 2011 00:58:58 +0000 (16:58 -0800)
commit168f2e14319aba3125946649604e858cbae85be6
tree16a811b09a607ccb4e8de13da744b7167346ab8e
parent0bb77c465f02e8281e24b9f02e7dc8a7e2b81ee2
pstore: fix build warning for unused return value from sysfs_create_file

fs/pstore/inode.c: In function 'init_pstore_fs':
fs/pstore/inode.c:266: warning: ignoring return value of 'sysfs_create_file', declared with attribute warn_unused_result

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Tony Luck <tony.luck@intel.com>
fs/pstore/inode.c