mm/zpool.c: delete duplicated word and fix grammar

Drop the repeated word "if".
Fix subject/verb agreement.

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Reviewed-by: Zi Yan <ziy@nvidia.com>
Link: http://lkml.kernel.org/r/20200801173822.14973-15-rdunlap@infradead.org
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Randy Dunlap 2020-08-11 18:33:28 -07:00 committed by Linus Torvalds
parent 1eba09c15d
commit b6aa2c8342

View File

@ -239,15 +239,15 @@ const char *zpool_get_type(struct zpool *zpool)
} }
/** /**
* zpool_malloc_support_movable() - Check if the zpool support * zpool_malloc_support_movable() - Check if the zpool supports
* allocate movable memory * allocating movable memory
* @zpool: The zpool to check * @zpool: The zpool to check
* *
* This returns if the zpool support allocate movable memory. * This returns if the zpool supports allocating movable memory.
* *
* Implementations must guarantee this to be thread-safe. * Implementations must guarantee this to be thread-safe.
* *
* Returns: true if if the zpool support allocate movable memory, false if not * Returns: true if the zpool supports allocating movable memory, false if not
*/ */
bool zpool_malloc_support_movable(struct zpool *zpool) bool zpool_malloc_support_movable(struct zpool *zpool)
{ {