Minor code clean-up for GCC 4.9.

- Tidy up "signed vs unsigned" comparison
- Unconditionally initialize the "protocol" variable. This is a
  false-positive warning as protocol is indeed initialized when used,
  but GCC failed to detect the dependency between protocol and ip6.

Change-Id: I8146898d91d45531c3de73403e0df3330c0a2043
1 file changed