diff options
author | Frank Kühndel <frank.kuehndel@embedded-brains.de> | 2022-06-01 16:16:11 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-06-21 09:32:04 +0200 |
commit | c044f0502a23a1a2c61b4e1f4db8a7895b72c2d9 (patch) | |
tree | 4d0825fe19d596aa76a6f0ae0182b1f8c704092c /cpukit | |
parent | testsuite: Fix gcc 12 warnings (diff) | |
download | rtems-c044f0502a23a1a2c61b4e1f4db8a7895b72c2d9.tar.bz2 |
TFTPFS: Cleanup: Remove spaces at lines ends
Update #4666.
Diffstat (limited to '')
-rw-r--r-- | cpukit/libfs/src/ftpfs/tftpDriver.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/cpukit/libfs/src/ftpfs/tftpDriver.c b/cpukit/libfs/src/ftpfs/tftpDriver.c index bebe748ca5..d0eadcf99a 100644 --- a/cpukit/libfs/src/ftpfs/tftpDriver.c +++ b/cpukit/libfs/src/ftpfs/tftpDriver.c @@ -233,12 +233,12 @@ int rtems_tftpfs_initialize( fs->flags = 0; fs->nStreams = 0; fs->tftpStreams = 0; - + mt_entry->fs_info = fs; mt_entry->mt_fs_root->location.node_access = root_path; mt_entry->mt_fs_root->location.handlers = &rtems_tftp_handlers; mt_entry->ops = &rtems_tftp_ops; - + /* * Now allocate a semaphore for mutual exclusion. * @@ -258,7 +258,7 @@ int rtems_tftpfs_initialize( token = strtok_r (NULL, " ", &saveptr); } } - + return 0; error: @@ -563,7 +563,7 @@ static int rtems_tftp_open_worker( * Get the file system info. */ fs = tftpfs_info_iop (iop); - + /* * Extract the host name component */ @@ -595,7 +595,7 @@ static int rtems_tftp_open_worker( return ENOENT; memcpy (&farAddress, he->h_addr, sizeof (farAddress)); } - + /* * Extract file pathname component */ @@ -803,7 +803,7 @@ static ssize_t rtems_tftp_read( if (!tp) rtems_set_errno_and_return_minus_one( EIO ); - + /* * Read till user request is satisfied or EOF is reached */ @@ -918,15 +918,15 @@ static int rtems_tftp_close( tftpfs_info_t *fs; struct tftpStream *tp = iop->data1; int e = 0; - + /* * Get the file system info. */ fs = tftpfs_info_iop (iop); - - if (!tp) + + if (!tp) rtems_set_errno_and_return_minus_one (EIO); - + if (tp->writing) e = rtems_tftp_flush (tp); if (!tp->eof && !tp->firstReply) { |