Change how we are checking for maximum buffer size.
Removing useless check
Remove unused code
Merge pull request #2 from morpheus-med/d394-max-buffer

D394 max buffer