docs: checkpatch: add UNNECESSARY/UNSPECIFIED_INT and UNNECESSARY_ELSE
authorUtkarsh Verma <utkarshverma294@gmail.com>
Sat, 25 Sep 2021 20:17:46 +0000 (01:47 +0530)
committerJonathan Corbet <corbet@lwn.net>
Mon, 27 Sep 2021 17:39:16 +0000 (11:39 -0600)
commitcbb817fc2effcbee0eb44303eefbc8171fc2b12f
tree41ad36bf9899c5ff7570e0b8b645110c1c6fc563
parent15ce51f55e15d512a8e3467c0bcbb0f49cd42e05
docs: checkpatch: add UNNECESSARY/UNSPECIFIED_INT and UNNECESSARY_ELSE

Added and documented 3 new message types:
- UNNECESSARY_INT
- UNSPECIFIED_INT
- UNNECESSARY_ELSE

Signed-off-by: Utkarsh Verma <utkarshverma294@gmail.com>
Link: https://lore.kernel.org/r/20210925201746.15917-1-utkarshverma294@gmail.com
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Documentation/dev-tools/checkpatch.rst