Skip to content
Commit 65197a7d authored by Pratik Jain's avatar Pratik Jain Committed by Greg Kroah-Hartman
Browse files

Staging: xgifb: XGI_main_26.c: Refactored the function



Refactored the function `XGIfb_search_refresh_rate` by removing a level
of `if...else` block nesting. Removed unnecessary parantheses. Removed
potential bug of array underflow.

Signed-off-by: default avatarPratik Jain <pratik.jain0509@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f8174647
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment