Skip to content
Commit 865d001d authored by Richard Purdie's avatar Richard Purdie
Browse files

package/prserv: Merge two similar functions into one



Having these two separate functions handling PR values seems pointless,
and worse, there are impossible code branches mixed within them.

Merge them into one function and tweak comments so at least you
don't have to read both functions to figure out what is going on.

This does restructure the conditionals to try and aid readability.

Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
parent 0c21d06d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment