cleanup: remove unnecessary (=invisible) leading spaces

This commit is contained in:
marschap
2006-04-27 15:01:49 +00:00
parent 1aff9c4226
commit 9b111eeac4
44 changed files with 236 additions and 236 deletions
+5 -5
View File
@@ -101,7 +101,7 @@ joy_init (Driver *drvthis)
report(RPT_INFO, "%s: using Device %s", drvthis->name, p->device);
/* End of config file parsing (1st part) */
if ((p->fd = open(p->device, O_RDONLY)) < 0) {
report(RPT_ERR, "%s: open(%s) failed (%s)",
drvthis->name, p->device, strerror(errno));
@@ -151,7 +151,7 @@ joy_init (Driver *drvthis)
drvthis->name, i+1, p->axismap[2*i + 1]);
}
}
for (i = 0; i < p->buttons; i++) {
char mapkey[50];
char *mapval;
@@ -164,9 +164,9 @@ joy_init (Driver *drvthis)
drvthis->name, i+1, p->buttonmap[i]);
}
}
/* End of config file parsing (2nd part) */
report(RPT_DEBUG, "%s: init() done", drvthis->name);
return 0;
@@ -177,7 +177,7 @@ MODULE_EXPORT void
joy_close (Driver *drvthis)
{
PrivateData *p = drvthis->private_data;
if (p != NULL) {
if (p->fd >= 0)
close(p->fd);