Staging: zram: simplify zram_make_request
authorNitin Gupta <[email protected]>
Sat, 22 Jan 2011 12:36:15 +0000 (07:36 -0500)
committerGreg Kroah-Hartman <[email protected]>
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 <[email protected]>
Signed-off-by: Jerome Marchand <[email protected]>
Acked-by: Jeff Moyer <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/staging/zram/zram_drv.c