Staging: ramzswap: Remove redundant check for zero page
commit2e882281742f7e483e751bbbaf6c0946b5f8513f
authorNitin Gupta <ngupta@vflare.org>
Thu, 28 Jan 2010 15:43:41 +0000 (28 21:13 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 4 Mar 2010 00:42:53 +0000 (3 16:42 -0800)
tree8bc191e244b3865b2a244a07db9bb4c002525789
parentde1a21a0f1f614dac0d8cacc13f41e32a15bba98
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