pylint: Fix no-else-return lint error

Removed unnecessary else/elif after return.

BUG=b:158811392
TEST=make lint && make test && emerge-kukui factory

Change-Id: I313e9ce5dfa23c52d0878fee0d30bd9386c1c16d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/factory/+/2263674
Reviewed-by: Yilin Yang (kerker) <kerker@chromium.org>
Tested-by: Fei Shao <fshao@chromium.org>
Commit-Queue: Stimim Chen <stimim@chromium.org>
diff --git a/py/utils/pygpt.py b/py/utils/pygpt.py
index 3079f02..c0e0093 100755
--- a/py/utils/pygpt.py
+++ b/py/utils/pygpt.py
@@ -1343,23 +1343,23 @@
       def ApplyFormatArgs(p):
         if args.begin:
           return p.FirstLBA
-        elif args.size:
+        if args.size:
           return p.blocks
-        elif args.type:
+        if args.type:
           return FormatTypeGUID(p)
-        elif args.unique:
+        if args.unique:
           return p.UniqueGUID
-        elif args.label:
+        if args.label:
           return p.Names
-        elif args.Successful:
+        if args.Successful:
           return p.Attributes.successful
-        elif args.Priority:
+        if args.Priority:
           return p.Attributes.priority
-        elif args.Tries:
+        if args.Tries:
           return p.Attributes.tries
-        elif args.Legacy:
+        if args.Legacy:
           return p.Attributes.legacy_boot
-        elif args.Attribute:
+        if args.Attribute:
           return '[%x]' % (p.Attributes.raw >> 48)
         return None