summaryrefslogtreecommitdiff
path: root/platform-intel.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2013-06-19 12:31:45 +1000
committerNeilBrown <neilb@suse.de>2013-06-19 12:31:45 +1000
commit1011e8344a6b881883af57959cdd9ec7f9084407 (patch)
tree01680ce6a6696a200b534e4c434fe0078b8933d6 /platform-intel.c
parente6dd89da86813679fae44e472ea470a943f133e2 (diff)
Remove lots of unnecessary white space.
Now that I am using white-space mode in Emacs I can see all of this, and I don't like it :-) Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'platform-intel.c')
-rw-r--r--platform-intel.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/platform-intel.c b/platform-intel.c
index f91c9711..f347382a 100644
--- a/platform-intel.c
+++ b/platform-intel.c
@@ -30,7 +30,6 @@
#include <sys/stat.h>
#include <limits.h>
-
static int devpath_to_ll(const char *dev_path, const char *entry,
unsigned long long *val);
@@ -125,7 +124,6 @@ struct sys_dev *find_driver_devices(const char *bus, const char *driver)
return head;
}
-
static struct sys_dev *intel_devices=NULL;
static time_t valid_time = 0;
@@ -155,7 +153,6 @@ static int devpath_to_ll(const char *dev_path, const char *entry, unsigned long
return n;
}
-
static __u16 devpath_to_vendor(const char *dev_path)
{
char path[strlen(dev_path) + strlen("/vendor") + 1];
@@ -254,7 +251,6 @@ static int scan(const void *start, const void *end, const void *data)
return 0;
}
-
const struct imsm_orom *imsm_platform_test(enum sys_dev_type hba_id, int *populated,
struct imsm_orom *imsm_orom)
{
@@ -289,8 +285,6 @@ const struct imsm_orom *imsm_platform_test(enum sys_dev_type hba_id, int *popula
return imsm_orom;
}
-
-
static const struct imsm_orom *find_imsm_hba_orom(enum sys_dev_type hba_id)
{
unsigned long align;
@@ -346,7 +340,6 @@ static const struct imsm_orom *find_imsm_hba_orom(enum sys_dev_type hba_id)
(c) & 0xff, ((c) >> 8) & 0xff, \
(d0), (d1), (d2), (d3), (d4), (d5), (d6), (d7) }})
-
#define SYS_EFI_VAR_PATH "/sys/firmware/efi/vars"
#define SCU_PROP "RstScuV"
#define AHCI_PROP "RstSataV"
@@ -447,7 +440,6 @@ const struct imsm_orom *find_imsm_capability(enum sys_dev_type hba_id)
{
const struct imsm_orom *cap=NULL;
-
if ((cap = find_imsm_efi(hba_id)) != NULL)
return cap;
if ((cap = find_imsm_hba_orom(hba_id)) != NULL)