Staging: zram: simplify zram_make_request
authorNitin Gupta <ngupta@vflare.org>
Sat, 22 Jan 2011 12:36:15 +0000 (07:36 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 25 Jan 2011 10:15:24 +0000 (18:15 +0800)
commit7d7854b4da52a1e40a41d26048f7940e4eb7193b
tree94bc3a5c414c6b89f1cf3e9b44280aafe4d772ce
parentdc7b202a4ee6cb686e2bbef80c84443f43ec91bd
Staging: zram: simplify zram_make_request

zram_read() and zram_write() always return zero, so make them return
void to simplify the code.

Signed-off-by: Nitin Gupta <ngupta@vflare.org>
Signed-off-by: Jerome Marchand <jmarchan@redhat.com>
Acked-by: Jeff Moyer <jmoyer@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/zram/zram_drv.c