xpp: Remove few extra leading spaces

Signed-off-by: Oron Peled <oron@actcom.co.il>
Acked-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>

git-svn-id: http://svn.asterisk.org/svn/dahdi/linux/trunk@9713 a0bf4364-ded3-4de4-8d8a-66a801d63aff
This commit is contained in:
Oron Peled 2011-01-30 18:16:35 +00:00 committed by Tzafrir Cohen
parent 41d71c3c99
commit 38f916050a

View File

@ -1127,21 +1127,21 @@ int dahdi_register_xpd(xpd_t *xpd)
XPD_ERR(xpd, "Already registered\n"); XPD_ERR(xpd, "Already registered\n");
return -EEXIST; return -EEXIST;
} }
cn = PHONEDEV(xpd).channels; cn = PHONEDEV(xpd).channels;
XPD_DBG(DEVICES, xpd, "Initializing span: %d channels.\n", cn); XPD_DBG(DEVICES, xpd, "Initializing span: %d channels.\n", cn);
memset(&PHONEDEV(xpd).span, 0, sizeof(struct dahdi_span)); memset(&PHONEDEV(xpd).span, 0, sizeof(struct dahdi_span));
for(i = 0; i < cn; i++) { for(i = 0; i < cn; i++) {
memset(XPD_CHAN(xpd, i), 0, sizeof(struct dahdi_chan)); memset(XPD_CHAN(xpd, i), 0, sizeof(struct dahdi_chan));
} }
span = &PHONEDEV(xpd).span; span = &PHONEDEV(xpd).span;
snprintf(span->name, MAX_SPANNAME, "%s/%s", xbus->busname, xpd->xpdname); snprintf(span->name, MAX_SPANNAME, "%s/%s", xbus->busname, xpd->xpdname);
span->deflaw = DAHDI_LAW_MULAW; /* default, may be overriden by card_* drivers */ span->deflaw = DAHDI_LAW_MULAW; /* default, may be overriden by card_* drivers */
span->channels = cn; span->channels = cn;
span->chans = PHONEDEV(xpd).chans; span->chans = PHONEDEV(xpd).chans;
span->flags = DAHDI_FLAG_RBS; span->flags = DAHDI_FLAG_RBS;
if(PHONEDEV(xpd).phoneops->card_hooksig) if(PHONEDEV(xpd).phoneops->card_hooksig)
span->ops = &xpp_rbs_span_ops; /* Only with RBS bits */ span->ops = &xpp_rbs_span_ops; /* Only with RBS bits */
else else
span->ops = &xpp_span_ops; span->ops = &xpp_span_ops;