isdn: whitespace coding style cleanup
isdn source code uses a not-current coding style. Update the coding style used on a per-line basis so that git diff -w shows only elided blank lines at EOF. Done with emacs and some scripts and some typing. Built x86 allyesconfig. No detected change in objdump -d or size. Signed-off-by: Joe Perches <joe@perches.com>
This commit is contained in:
parent
0b0a635f79
commit
475be4d85a
|
@ -49,4 +49,3 @@ static inline void kcapi_proc_init(void) { };
|
|||
static inline void kcapi_proc_exit(void) { };
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -79,4 +79,3 @@ static void __exit divert_exit(void)
|
|||
|
||||
module_init(divert_init);
|
||||
module_exit(divert_exit);
|
||||
|
||||
|
|
|
@ -860,4 +860,3 @@ int ll_callback(isdn_ctrl *ic)
|
|||
return (isdn_divert_stat_callback(ic));
|
||||
}
|
||||
} /* ll_callback */
|
||||
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
/*
|
||||
*
|
||||
Copyright (c) Eicon Networks, 2002.
|
||||
|
@ -363,4 +362,3 @@ void IDI_CALL_LINK_T DIVA_DIDD_Read (void IDI_CALL_ENTITY_T * buffer,
|
|||
int length) {
|
||||
diva_didd_read_adapter_array(buffer, length);
|
||||
}
|
||||
|
||||
|
|
|
@ -2129,4 +2129,3 @@ static void diva_free_dma_descriptor (IDI_CALL request, int nr) {
|
|||
|
||||
(*request)((ENTITY *)pReq);
|
||||
}
|
||||
|
||||
|
|
|
@ -86,5 +86,3 @@ int diva_get_trace_filter (int max_length, char* filter);
|
|||
#define DIVA_MGT_DBG_IFC_AUDIO 0x00000400 /* Audio Tap trace for all channels */
|
||||
|
||||
# endif /* DEBUG_IF___H */
|
||||
|
||||
|
||||
|
|
|
@ -255,4 +255,3 @@ static void DIVA_EXIT_FUNCTION maint_exit(void)
|
|||
|
||||
module_init(maint_init);
|
||||
module_exit(maint_exit);
|
||||
|
||||
|
|
|
@ -333,4 +333,3 @@ dword DivaSTraceGetMemotyRequirement (int channels);
|
|||
#define DIVA_MAX_LINES 32
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -2192,4 +2192,3 @@ dword DivaSTraceGetMemotyRequirement (int channels) {
|
|||
return (sizeof(diva_strace_context_t) + \
|
||||
(parse_entries * sizeof(diva_strace_path2action_t)));
|
||||
}
|
||||
|
||||
|
|
|
@ -169,4 +169,3 @@ typedef struct _diva_man_var_header {
|
|||
} diva_man_var_header_t;
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -41,4 +41,3 @@
|
|||
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -1230,4 +1230,3 @@ struct hfc_register_names {
|
|||
{"R_IRQ_FIFO_BL7", 0xCF},
|
||||
};
|
||||
#endif /* HFC_REGISTER_DEBUG */
|
||||
|
||||
|
|
|
@ -55,4 +55,3 @@
|
|||
/* 2 * 64 byte is a compromise between IRQ count and latency */
|
||||
#define NJ_DMA_RXSIZE 128 /* 2 * 64 */
|
||||
#define NJ_DMA_TXSIZE 128 /* 2 * 64 */
|
||||
|
||||
|
|
|
@ -55,4 +55,3 @@ struct fritz_adapter {
|
|||
u32 (*read_hdlc_status) (struct fritz_adapter *adapter, int nr);
|
||||
void (*write_ctrl) (struct fritz_bcs *bcs, int which);
|
||||
};
|
||||
|
||||
|
|
|
@ -911,4 +911,3 @@ init_ipacx(struct IsdnCardState *cs, int part)
|
|||
}
|
||||
|
||||
//----------------- end of file -----------------------
|
||||
|
||||
|
|
|
@ -23,4 +23,3 @@
|
|||
#define RSP 1
|
||||
|
||||
#define LC_FLUSH_WAIT 1
|
||||
|
||||
|
|
|
@ -40,4 +40,3 @@ void l3_msg(struct PStack *st, int pr, void *arg);
|
|||
void setstack_dss1(struct PStack *st);
|
||||
void setstack_ni1(struct PStack *st);
|
||||
void setstack_1tr6(struct PStack *st);
|
||||
|
||||
|
|
|
@ -311,4 +311,3 @@ initjade(struct IsdnCardState *cs)
|
|||
modejade(cs->bcs, 0, 0);
|
||||
modejade(cs->bcs + 1, 0, 0);
|
||||
}
|
||||
|
||||
|
|
|
@ -979,4 +979,3 @@ release_io_netjet(struct IsdnCardState *cs)
|
|||
releasetiger(cs);
|
||||
release_region(cs->hw.njet.base, 256);
|
||||
}
|
||||
|
||||
|
|
|
@ -67,4 +67,3 @@ void netjet_fill_dma(struct BCState *bcs);
|
|||
void netjet_interrupt(int intno, void *dev_id);
|
||||
void inittiger(struct IsdnCardState *cs);
|
||||
void release_io_netjet(struct IsdnCardState *cs);
|
||||
|
||||
|
|
|
@ -654,4 +654,3 @@ void st5481_in_mode(struct st5481_in *in, int mode)
|
|||
0, NULL, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -9,5 +9,3 @@
|
|||
|
||||
extern struct concap_device_ops isdn_concap_reliable_dl_dops;
|
||||
extern struct concap_proto *isdn_concap_new(int);
|
||||
|
||||
|
||||
|
|
|
@ -149,4 +149,3 @@ static __inline__ void isdn_net_rm_from_bundle(isdn_net_local *lp)
|
|||
// __func__, master_lp->netdev->queue);
|
||||
spin_unlock_irqrestore(&master_lp->netdev->queue_lock, flags);
|
||||
}
|
||||
|
||||
|
|
|
@ -39,5 +39,3 @@ extern int isdn_ppp_unregister_compressor(struct isdn_ppp_compressor *ipc);
|
|||
#define IPPP_ASSIGNED 0x10
|
||||
|
||||
#define IPPP_MAX_HEADER 10
|
||||
|
||||
|
||||
|
|
|
@ -15,4 +15,3 @@
|
|||
#define XON 0x11
|
||||
#define XOFF 0x13
|
||||
#define DC2 0x12
|
||||
|
||||
|
|
|
@ -29,11 +29,3 @@ extern struct concap_proto * isdn_x25iface_proto_new(void);
|
|||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -215,4 +215,3 @@ mISDN_clock_get(void)
|
|||
return count;
|
||||
}
|
||||
EXPORT_SYMBOL(mISDN_clock_get);
|
||||
|
||||
|
|
|
@ -406,4 +406,3 @@ static void mISDN_cleanup(void)
|
|||
|
||||
module_init(mISDNInit);
|
||||
module_exit(mISDN_cleanup);
|
||||
|
||||
|
|
|
@ -273,4 +273,3 @@ extern void dsp_pipeline_process_tx(struct dsp_pipeline *pipeline, u8 *data,
|
|||
int len);
|
||||
extern void dsp_pipeline_process_rx(struct dsp_pipeline *pipeline, u8 *data,
|
||||
int len, unsigned int txlen);
|
||||
|
||||
|
|
|
@ -431,4 +431,3 @@ dsp_change_volume(struct sk_buff *skb, int volume)
|
|||
i++;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1958,5 +1958,3 @@ dsp_cmx_hdlc(struct dsp *dsp, struct sk_buff *skb)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1233,4 +1233,3 @@ static void __exit dsp_cleanup(void)
|
|||
|
||||
module_init(dsp_init);
|
||||
module_exit(dsp_cleanup);
|
||||
|
||||
|
|
|
@ -302,5 +302,3 @@ storedigit:
|
|||
|
||||
goto again;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -135,4 +135,3 @@ void dsp_hwec_exit(void)
|
|||
{
|
||||
mISDN_dsp_element_unregister(dsp_hwec);
|
||||
}
|
||||
|
||||
|
|
|
@ -7,4 +7,3 @@ extern void dsp_hwec_enable(struct dsp *dsp, const char *arg);
|
|||
extern void dsp_hwec_disable(struct dsp *dsp);
|
||||
extern int dsp_hwec_init(void);
|
||||
extern void dsp_hwec_exit(void);
|
||||
|
||||
|
|
|
@ -360,5 +360,3 @@ void dsp_pipeline_process_rx(struct dsp_pipeline *pipeline, u8 *data, int len,
|
|||
if (entry->elem->process_rx)
|
||||
entry->elem->process_rx(entry->p, data, len, txlen);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -550,8 +550,3 @@ dsp_tone(struct dsp *dsp, int tone)
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -88,4 +88,3 @@ extern int l1oip_alaw_to_ulaw(u8 *data, int len, u8 *result);
|
|||
extern int l1oip_ulaw_to_alaw(u8 *data, int len, u8 *result);
|
||||
extern void l1oip_4bit_free(void);
|
||||
extern int l1oip_4bit_alloc(int ulaw);
|
||||
|
||||
|
|
|
@ -370,5 +370,3 @@ l1oip_4bit_alloc(int ulaw)
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1530,4 +1530,3 @@ l1oip_init(void)
|
|||
|
||||
module_init(l1oip_init);
|
||||
module_exit(l1oip_cleanup);
|
||||
|
||||
|
|
|
@ -23,4 +23,3 @@
|
|||
#define FLG_L1_PULL_REQ 6
|
||||
#define FLG_L1_UINT 7
|
||||
#define FLG_L1_DBLOCKED 8
|
||||
|
||||
|
|
|
@ -2219,4 +2219,3 @@ Isdnl2_cleanup(void)
|
|||
TEIFree();
|
||||
mISDN_FsmFree(&l2fsm);
|
||||
}
|
||||
|
||||
|
|
|
@ -838,4 +838,3 @@ misdn_sock_cleanup(void)
|
|||
{
|
||||
sock_unregister(PF_ISDN);
|
||||
}
|
||||
|
||||
|
|
|
@ -343,6 +343,3 @@ void cb_open(struct pcbit_dev * dev, struct pcbit_chan* chan,
|
|||
ictl.arg = chan->id;
|
||||
dev->dev_if->statcallb(&ictl);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -42,5 +42,3 @@ extern void cb_open(struct pcbit_dev * dev, struct pcbit_chan* chan,
|
|||
struct callb_data *data);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
|
|
@ -647,8 +647,3 @@ int capi_decode_debug_188(u_char *hdr, ushort hdrlen)
|
|||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -79,9 +79,3 @@ capi_channel(struct pcbit_dev *dev, struct sk_buff *skb)
|
|||
}
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -311,7 +311,3 @@ void pcbit_fsm_event(struct pcbit_dev *dev, struct pcbit_chan *chan,
|
|||
action->callb(dev, chan, data);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -97,6 +97,3 @@ void pcbit_fsm_event(struct pcbit_dev *, struct pcbit_chan *,
|
|||
char *strisdnevent(ushort ev);
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -279,10 +279,3 @@ static __inline__ void memcpy_frompcbit(struct pcbit_dev * dev, u_char * data, i
|
|||
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -123,4 +123,3 @@ __setup("pcbit=", pcbit_setup);
|
|||
|
||||
module_init(pcbit_init);
|
||||
module_exit(pcbit_exit);
|
||||
|
||||
|
|
|
@ -202,4 +202,3 @@ int setup_buffers(int card, int c)
|
|||
}
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -108,4 +108,3 @@ typedef struct {
|
|||
} boardInfo;
|
||||
|
||||
#endif /* __ISDN_SC_SCIOC_H__ */
|
||||
|
||||
|
|
|
@ -120,4 +120,3 @@ void check_phystat(unsigned long data)
|
|||
sendmessage(card, CEPID, ceReqTypePhy, ceReqClass2,
|
||||
ceReqPhyStatus, 0, 0, NULL);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue