RE: [f2fs-dev] [PATCH 1/3 v2] f2fs:remove unnecessary condition judgment

From: Chao Yu
Date: Mon Mar 09 2015 - 02:48:08 EST


> -----Original Message-----
> From: Yuan Zhong [mailto:yuan.mark.zhong@xxxxxxxxxxx]
> Sent: Monday, March 09, 2015 10:44 AM
> To: Jaegeuk Kim; ???
> Cc: linux-fsdevel@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx;
> linux-f2fs-devel@xxxxxxxxxxxxxxxxxxxxx
> Subject: [f2fs-dev] [PATCH 1/3 v2] f2fs:remove unnecessary condition judgment
>
> Remove the unnecessary condition judgment, because
> 'max_slots' has been initialized to '0' at the beginging
> of the function, as following:
> if (max_slots)
> *max_slots = 0;
>
> Signed-off-by: Yuan Zhong <yuan.mark.zhong@xxxxxxxxxxx>

Reviewed-by: Chao Yu <chao2.yu@xxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/