cleanup: scope reduction

[app/channel.cpp:102]:   (style) The scope of the variable 'resp' can be reduced.
[ipmisensor.cpp:310]:    (style) The scope of the variable 'i' can be reduced.
[ipmid.cpp:506]:         (style) The scope of the variable 'num_handlers' can be reduced.
[read_fru_data.cpp:82]:  (style) The scope of the variable 'fruId' can be reduced.
[sensorhandler.cpp:256]: (style) The scope of the variable 'p' can be reduced.
[storageaddsel.cpp:68]:  (style) The scope of the variable 'p' can be reduced.

Also delete two extra vertical lines.

Change-Id: I8e72f8e1d94381f456674abf523d2f2fbdd8046d
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/storageaddsel.cpp b/storageaddsel.cpp
index 4ed22fc..1dde2a4 100644
--- a/storageaddsel.cpp
+++ b/storageaddsel.cpp
@@ -65,7 +65,6 @@
 {
 
     dbus_interface_t a;
-    const char* p;
     int r;
 
     r = find_openbmc_path(sensor_number, &a);
@@ -78,6 +77,7 @@
     }
     else
     {
+        const char* p;
 
         if ((p = strrchr(a.path, '/')) == NULL)
         {