Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Arm Trusted Firmware
Commits
56036edb
Commit
56036edb
authored
Feb 28, 2017
by
danh-arm
Committed by
GitHub
Feb 28, 2017
Browse files
Merge pull request #851 from jeenu-arm/assert-fix
Remove redundant assert
parents
c1a29754
b4d2c67b
Changes
1
Hide whitespace changes
Inline
Side-by-side
drivers/io/io_memmap.c
View file @
56036edb
...
@@ -125,8 +125,6 @@ static int memmap_block_open(io_dev_info_t *dev_info, const uintptr_t spec,
...
@@ -125,8 +125,6 @@ static int memmap_block_open(io_dev_info_t *dev_info, const uintptr_t spec,
int
result
=
-
ENOMEM
;
int
result
=
-
ENOMEM
;
const
io_block_spec_t
*
block_spec
=
(
io_block_spec_t
*
)
spec
;
const
io_block_spec_t
*
block_spec
=
(
io_block_spec_t
*
)
spec
;
assert
(
block_spec
->
length
>=
0
);
/* Since we need to track open state for seek() we only allow one open
/* Since we need to track open state for seek() we only allow one open
* spec at a time. When we have dynamic memory we can malloc and set
* spec at a time. When we have dynamic memory we can malloc and set
* entity->info.
* entity->info.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment