Staging: ramzswap: Remove redundant check for zero page
authorNitin Gupta <ngupta@vflare.org>
Thu, 28 Jan 2010 15:43:41 +0000 (21:13 +0530)
committerMatt Sealey <matt@genesi-usa.com>
Fri, 10 Sep 2010 16:02:40 +0000 (11:02 -0500)
commitae1624d8b45d1a358d8d85ee889f88dac588a57b
treeab653f0b65682f5ed98b933ffa172e77c87a7676
parentd19379392ae85c1716b688ae9a5207fb8fdaa5fa
Staging: ramzswap: Remove redundant check for zero page

ramzswap_free_page() already handles the case for zero filled
pages. So, remove redundant logic for the same in ramzswap_write().

Signed-off-by: Nitin Gupta <ngupta@vflare.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/ramzswap/ramzswap_drv.c