dmapool: don't memset on free twice

If debug is enabled, dmapool will poison the range, so no need to clear it
to 0 immediately before writing over it.

Fixes: 2d55c16c0c54 ("dmapool: create/destroy cleanup")
Signed-off-by: Keith Busch <>
Reviewed-by: Christoph Hellwig <>
Cc: Matthew Wilcox <>
Cc: Tony Battersby <>
Signed-off-by: Andrew Morton <>
1 file changed