staging: lustre: libcfs: white space cleanup
Remove white space present for variable declarations or initialization. Cleanup structs was strange alignments due to white spacing. Signed-off-by: James Simmons <jsimmons@infradead.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6fc68ea5f3
commit
715475ae42
|
@ -389,8 +389,8 @@ EXPORT_SYMBOL(libcfs_debug_dumplog);
|
|||
|
||||
int libcfs_debug_init(unsigned long bufsize)
|
||||
{
|
||||
int rc = 0;
|
||||
unsigned int max = libcfs_debug_mb;
|
||||
int rc = 0;
|
||||
|
||||
init_waitqueue_head(&debug_ctlwq);
|
||||
|
||||
|
|
|
@ -665,7 +665,7 @@ cfs_cpt_choose_ncpus(struct cfs_cpt_table *cptab, int cpt,
|
|||
}
|
||||
}
|
||||
|
||||
out:
|
||||
out:
|
||||
if (socket)
|
||||
LIBCFS_FREE(socket, cpumask_size());
|
||||
if (core)
|
||||
|
@ -705,7 +705,7 @@ cfs_cpt_num_estimate(void)
|
|||
|
||||
ncpt = nnode;
|
||||
|
||||
out:
|
||||
out:
|
||||
#if (BITS_PER_LONG == 32)
|
||||
/* config many CPU partitions on 32-bit system could consume
|
||||
* too much memory
|
||||
|
|
|
@ -293,7 +293,7 @@ int libcfs_debug_vmsg2(struct libcfs_debug_msg_data *msgdata,
|
|||
const char *format2, ...)
|
||||
{
|
||||
struct cfs_trace_cpu_data *tcd = NULL;
|
||||
struct ptldebug_header header = {0};
|
||||
struct ptldebug_header header = { 0 };
|
||||
struct cfs_trace_page *tage;
|
||||
/* string_buf is used only if tcd != NULL, and is always set then */
|
||||
char *string_buf = NULL;
|
||||
|
@ -535,9 +535,9 @@ panic_collect_pages(struct page_collection *pc)
|
|||
* CPUs have been stopped during a panic. If this isn't true for some
|
||||
* arch, this will have to be implemented separately in each arch.
|
||||
*/
|
||||
struct cfs_trace_cpu_data *tcd;
|
||||
int i;
|
||||
int j;
|
||||
struct cfs_trace_cpu_data *tcd;
|
||||
|
||||
INIT_LIST_HEAD(&pc->pc_pages);
|
||||
|
||||
|
|
|
@ -244,7 +244,7 @@ static int cfs_wi_scheduler(void *arg)
|
|||
spin_unlock(&sched->ws_lock);
|
||||
nloops++;
|
||||
|
||||
rc = (*wi->wi_action) (wi);
|
||||
rc = (*wi->wi_action)(wi);
|
||||
|
||||
spin_lock(&sched->ws_lock);
|
||||
if (rc) /* WI should be dead, even be freed! */
|
||||
|
|
Loading…
Reference in New Issue