bebob: code cleanup

- int -> unsigned int
- remove duplicated symbols
- remove needless comments